solve using the zero product property